package com.lyq.bean;

public class Student {

    // 学号
    private String stu_id;

    // 姓名
    private String name;

    // 性别
    private String sex;

    // 年级
    private String grade;

    // 班级
    private String cohort;

    public Student() {}

    public Student(String stu_id, String name, String sex, String grade, String cohort) {
        this.stu_id = stu_id;
        this.name = name;
        this.sex = sex;
        this.grade = grade;
        this.cohort = cohort;
    }

    public String getStu_id() {
        return stu_id;
    }

    public void setStu_id(String stu_id) {
        this.stu_id = stu_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getCohort() {
        return cohort;
    }

    public void setCohort(String cohort) {
        this.cohort = cohort;
    }

    @Override
    public String toString() {
        return "Student{" +
                ", stu_id='" + stu_id + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", grade='" + grade + '\'' +
                ", cohort='" + cohort + '\'' +
                '}';
    }
}
